<div class="tables form">
<?php echo $this->Form->create('Table');?>
	<fieldset>
		<legend><?php echo __('Add Table'); ?></legend>
	<?php
		echo $this->Form->input('name');
		echo $this->Form->input('description');
		//echo $this->Form->input('version_id',array($idversion ));
	?>
		<input type="hidden" name="data[Table][version_id]" id="TableVersionId" value="<?php echo $idversion ; ?>" />
	</fieldset>
<?php echo $this->Form->end(__('Submit'));?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo "<li>".$this->Html->link(__('Annuler'),array('controller'=>'tables','action'=>'TablesOfVersion',$idversion))."</li>";?></li>
		<!--li><?php echo $this->Html->link(__('List Tables'), array('action' => 'index'));?></li-->
		<!--li><?php echo $this->Html->link(__('List Versions'), array('controller' => 'versions', 'action' => 'index')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('New Version'), array('controller' => 'versions', 'action' => 'add')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('List Colonnes'), array('controller' => 'colonnes', 'action' => 'index')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('New Colonne'), array('controller' => 'colonnes', 'action' => 'add')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('List Lignes'), array('controller' => 'lignes', 'action' => 'index')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('New Ligne'), array('controller' => 'lignes', 'action' => 'add')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('List Ruptures'), array('controller' => 'ruptures', 'action' => 'index')); ?> </li-->
		<!--li><?php echo $this->Html->link(__('New Rupture'), array('controller' => 'ruptures', 'action' => 'add')); ?> </li-->
	</ul>
</div>
